package com.ouheng.shop.service;

import com.ouheng.shop.domain.RushPurchaseProductDO;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2018-09-09 09:28:26
 */
public interface RushPurchaseProductService {
	
	RushPurchaseProductDO get(Long id);
	
	List<RushPurchaseProductDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(RushPurchaseProductDO rushPurchaseProduct);
	
	int update(RushPurchaseProductDO rushPurchaseProduct);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
	
	int removeByPid(Long pid);
	
	List<Long> listProductidByPid(Long pid);
}
